package com.framework.boc.admin.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author Leil
 * @since 2020-08-27
 */
@TableName("JY_MATERIAL_INFO")
@ApiModel(value="MaterialInfo对象", description="")
public class MaterialInfo implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "产品表主键")
    @TableId("ID")
    private Integer id;

    @ApiModelProperty(value = "商户订单号")
    @TableField("ORDER_NO")
    private BigDecimal orderNo;

    @ApiModelProperty(value = "合同号")
    @TableField("VBILL_CODE")
    private String vbillCode;

    @ApiModelProperty(value = "产品编码")
    @TableField("MATERIAL_CODE")
    private String materialCode;

    @ApiModelProperty(value = "产品名称")
    @TableField("MATERIAL_NAME")
    private String materialName;

    @ApiModelProperty(value = "产品规格")
    @TableField("MATERIAL_SPEC")
    private String materialSpec;

    @ApiModelProperty(value = "产品型号")
    @TableField("MATERIAL_TYPE")
    private String materialType;

    @ApiModelProperty(value = "单位(主)")
    @TableField("CUNIT_ID")
    private String cunitId;

    @ApiModelProperty(value = "单价(主)")
    @TableField("NPRICE")
    private Integer nprice;

    @ApiModelProperty(value = "数量")
    @TableField("NUM")
    private Integer num;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(BigDecimal orderNo) {
        this.orderNo = orderNo;
    }

    public String getVbillCode() {
        return vbillCode;
    }

    public void setVbillCode(String vbillCode) {
        this.vbillCode = vbillCode;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMaterialSpec() {
        return materialSpec;
    }

    public void setMaterialSpec(String materialSpec) {
        this.materialSpec = materialSpec;
    }

    public String getMaterialType() {
        return materialType;
    }

    public void setMaterialType(String materialType) {
        this.materialType = materialType;
    }

    public String getCunitId() {
        return cunitId;
    }

    public void setCunitId(String cunitId) {
        this.cunitId = cunitId;
    }

    public Integer getNprice() {
        return nprice;
    }

    public void setNprice(Integer nprice) {
        this.nprice = nprice;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "MaterialInfo{" +
        "id=" + id +
        ", orderNo=" + orderNo +
        ", vbillCode=" + vbillCode +
        ", materialCode=" + materialCode +
        ", materialName=" + materialName +
        ", materialSpec=" + materialSpec +
        ", materialType=" + materialType +
        ", cunitId=" + cunitId +
        ", nprice=" + nprice +
        ", num=" + num +
        "}";
    }
}
